package com.shop.cereshop.commons.domain.billing.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * cere_shop_billing  开单宝返回实体
 * @author
 */
@Data
@ApiModel(value = "cere_shop_billing", description = "开单宝返回实体")
public class CereShopBillingVo {

    /**
     * 购物车id
     */
    @ApiModelProperty(value = "购物车id")
    @TableId(type = IdType.AUTO)
    private Long billingId;

    /**
     * 关联客户id
     */
    @ApiModelProperty(value = "关联客户id")
    private Long buyerUserId;

    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    /**
     * 关联商品id
     */
    @ApiModelProperty(value = "关联商品id")
    private Long productId;

    /**
     * 关联规格id
     */
    @ApiModelProperty(value = "关联规格id")
    private Long skuId;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String productName;

    /**
     * 购买数量
     */
    @ApiModelProperty(value = "购买数量")
    private Integer number;

    /**
     * 商品售价
     */
    @ApiModelProperty(value = "商品售价")
    private BigDecimal productPrice;


    /**
     * 原价
     */
    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    /**
     * 商品总计
     */
    @ApiModelProperty(value = "商品总计")
    private BigDecimal total;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    private String image;

    /**
     * SKU
     */
    @ApiModelProperty(value = "SKU")
    @TableField("SKU")
    private String SKU;

    /**
     * 重量
     */
    @ApiModelProperty(value = "重量")
    private BigDecimal weight;

    /**
     * 是否选中 1-是 0-否
     */
    @ApiModelProperty(value = "是否选中 1-是 0-否")
    private Integer selected;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    /**
     * 规格值拼接字符串
     */
    private String value;

    /**
     * 规格值Code
     */
    private String valueCode;

    /**
     * 规格值数据
     */
    @ApiModelProperty(value = "规格值数据")
    private List<String> values;

    private static final long serialVersionUID = 1L;
}
